document.writeln('    <link rel="stylesheet" href="../assets/layui/css/layui.css" media="all">')
document.writeln('    <link rel="stylesheet" href="../assets/style/login.css" media="all">')
document.writeln('    <link rel="stylesheet" href="../assets/style/admin.css">')
document.writeln('    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->')
document.writeln('    <!--[if lt IE 9]>')
document.writeln('    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>')
document.writeln('    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>')
document.writeln('    <![endif]-->')
document.writeln('    <script src="../assets/js/axios.min.js"></script>')
document.writeln('    <script src="../assets/layui/layui.js"></script>')
document.writeln('    <script src="../assets/js/request.js"></script>')
document.writeln('    <script src="../assets/js/common.js"></script>')
document.writeln('    <div class="layui-header">')
document.writeln('    <div class="layui-logo"></div>')
document.writeln('    <!-- 头部区域（可配合layui已有的水平导航） -->')
document.writeln('    <ul class="layui-nav layui-layout-left">')
document.writeln('        <li class="layui-nav-item"><a href="javascript:;">系统设置</a>')
document.writeln('            <dl class="layui-nav-child">')
document.writeln('                <dd><a href="../config_manage/googe_verify.html">Google验证</a></dd>')
document.writeln('                <dd><a href="../config_manage/ip_limit.html">IP管理</a></dd>')
document.writeln('                <dd><a href="../config_manage/staff_group.html">员工分组</a></dd>')
document.writeln('                <dd><a href="../config_manage/switch_entrance.html">关开入口</a></dd>')
document.writeln('            </dl>')
document.writeln('        </li>')
document.writeln('        <li class="layui-nav-item"><a href="../account_manage/index.html">账户管理</a></li>')
document.writeln('        <li class="layui-nav-item"><a href="javascript:;">微信账户管理</a>')
document.writeln('            <dl class="layui-nav-child">')
document.writeln('                <dd><a href="../wechat/add.html">增加微信</a></dd>')
document.writeln('                <dd><a href="../wechat/wechat_tag.html">微信标签管理</a></dd>')
document.writeln('                <dd><a href="../wechat/index.html">微信号管理</a></dd>')
document.writeln('            </dl>')
document.writeln('        </li>')
document.writeln('        <li class="layui-nav-item"><a href="javascript:;">好友管理</a>')
document.writeln('            <dl class="layui-nav-child">')
document.writeln('                <dd><a href="../friend/friend_add.html">添加好友</a></dd>')
document.writeln('                <dd><a href="../friend/powder_friend_manage.html">爆粉</a></dd>')
document.writeln('                <dd><a href="../friend/friend_manage.html">好友管理</a></dd>')
document.writeln('            </dl>')
document.writeln('        </li>')
document.writeln('        <li class="layui-nav-item"><a href="javascript:;">素材库</a>')
document.writeln('            <dl class="layui-nav-child">')
document.writeln('                <dd><a href="../material/material_manage.html">素材管理</a></dd>')
document.writeln('                <dd><a href="../material/material_group_manage.html">素材分组管理</a></dd>')
document.writeln('            </dl>')
document.writeln('        </li>')
document.writeln('    </ul>')
document.writeln('    <ul class="layui-nav layui-layout-right">')
var username = '账户XX'
if (localStorage.getItem("USERNAME")) {
    username = JSON.parse(localStorage.getItem("USERNAME")).USERNAME
}
document.writeln('        <li class="layui-nav-item"><a id="currusername" href="javascript:;">' + username + '</a>')
document.writeln('            <dl class="layui-nav-child">')
document.writeln('                <dd><a href="../account/accountInfo.html">基本资料</a></dd>')
// document.writeln('                <dd><a href="../account/changePassword.html">修改密码</a></dd>')
document.writeln('            </dl>')
document.writeln('        </li>')
var logOut = function () {
    localStorage.clear()
    location.href = "../login/login.html"
}
document.writeln('        <li class="layui-nav-item layui-hide-xs"><a href="#" onclick="logOut()">退出</a href></li>')
document.writeln('    </ul>')
document.writeln('</div>')

